<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="leftMenu">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-user fa-fw"></i> 个人中心</div>

		<div class="list-group">
			<a href="manage/#/my/info" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 修改个人资料</a>
			<a href="manage/#/my/img" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 修改头像</a>
			<a href="manage/#/my/pwd" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 修改登录密码</a>
		</div>
	</div>
	
	<c:if test="${user.roleId==999 || user.roleId==11}">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="glyphicon glyphicon-home"></i> 酒店管理</div>
		<div class="list-group">
			<a href="manage/#/hotel/room-info" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 房间管理</a>		
			<a href="manage/#/hotel/roomManage" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 订单管理</a>		
			<a href="hotelList.html" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 酒店信息</a>	
		</div>
	</div>
	</c:if>
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="glyphicon glyphicon-file"></i> 订单中心</div>
		<div class="list-group">
			<a href="manage/#/hotel/reserve-Manage" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 酒店订单</a>		
		</div>
		<div class="list-group">
			<a href="manage/#/food/food-indent" class="list-group-item"><i class="fa fa-caret-right text-info"></i>外卖订单</a>		
		</div>
	</div>
	
	<c:if test="${user.roleId==999 || user.roleId==13}">
		<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-user fa-fw"></i> 认证中心</div>

		<div class="list-group">
			<a href="manage/#/certificate/certificate-page" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 证书查询</a>
		</div>
		
		<div class="list-group">
			<a href="certificate/certificateInfoListAll1.do" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 认证中心1</a>
		</div>
		
		<div class="list-group">
			<a href="manage/#/certificate/certificate-res-page" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 认证中心</a>
		</div>
	</div>
	</c:if>
	
	<c:if test="${user.roleId==0}">
		<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-user fa-fw"></i> 认证中心</div>

		<div class="list-group">
			<a href="manage/#/certificate/certificate-page" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 证书查询</a>
		</div>
		
	</div>
	</c:if>
	
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-th-list fa-fw"></i> 文章中心</div>

		<div class="list-group">
			<a href="news/news-add.jsp" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 发布文章</a>
			<a href="/news-approval.do" class="list-group-item _status"><i class="fa fa-caret-right text-info"></i> 审批中的文章</a>
			<a href="/news-reject.do" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 被驳回的文章</a>
			<a href="/news-my.do" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 我发布的文章</a>
		</div>
	</div>
	
	<c:if test="${user.roleId==999 || user.roleId==3}">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-th-list fa-fw"></i>文章管理</div>
		<div class="list-group">
			<a href="manage/news/approval-news.jsp" class="list-group-item _status"><i class="fa fa-caret-right text-info"></i> 审批文章</a>
			<a href="manage/news/news-manage.jsp" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 管理文章</a>
		</div>
	</div>
	</c:if>
	<c:if test="${user.roleId==999 || user.roleId==14}">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-th-list fa-fw"></i>评论中心</div>
		<div class="list-group">	
			<a href="comments/report-manage.jsp" class="list-group-item _status"><i class="fa fa-caret-right text-info"></i> 举报管理</a>
			<a href="comments/comment-manage.jsp" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 评论管理</a>
		</div>
	</div>
	</c:if>

	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-address-card fa-fw"></i> 摄影管理</div>

		<div class="list-group">
			<a href="manage/#/photo/upload" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 上传图片</a>
			<a href="photo/user-msg.html" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 消息通知</a>
			<c:if test="${user.roleId==999 || user.roleId==12}">
			<a href="manage/#/photo/picture" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 图片审核</a>
			</c:if>
		</div>
	</div>
	
	<c:if test="${user.roleId==999 || user.roleId==2 }">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-address-card fa-fw"></i> 商城中心</div>

		<div class="list-group">
			<a href="manage/#/shop/product" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 商品管理</a>
			<a href="manage/#/shop/order" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 订单管理</a>
			<a href="manage/#/shop/slide" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 商城轮播图管理</a>
		</div>
	</div>
	</c:if>
	
	<c:if test="${user.roleId==10 }">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-address-card fa-fw"></i> 外卖中心</div>
			<div class="list-group">
				<a href="manage/#/food/goods" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 商品管理</a>
				<a href="/food/orderInfo/page-1.html" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 订单管理</a>
				<a href="/food/comments/page-1.html" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 评价管理</a>
				<a href="manage/#/food/baobiao" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 报表展示</a>
			</div>
	</div>
	</c:if>
	
	<c:if test="${user.roleId==999 }">
	<div class="panel panel-primary">
		<div class="panel-heading" style="font-size: 1.2em; cursor: pointer;"><i class="fa fa-address-card fa-fw"></i> 系统管理</div>

		<div class="list-group">
			<a href="manage/#/user/page" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 用户管理</a>
			<a href="manage/#/shops/page" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 商户认证管理</a>
			<a href="/rotation-chart.html" class="list-group-item"><i class="fa fa-caret-right text-info"></i> 轮播图管理</a>
		</div>
	</div>
	</c:if>
</div>
<script type="text/javascript" src="left-menu.js" ></script>
